/* general body settings */
body {
  font-family: "微软雅黑","Helvetica","Arial Narrow","宋体","sans-serif";
  padding: 0px !important;
  margin: 0px !important;
  font-size:13px;
  direction: ltr;
  background-color: #fafafa;
  color: #808080;
}

/***
General typography
***/
h3 small, h4 small, h5 small {
  color: #444;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}

h1.block, h2.block, h3.block, h4.block, h5.block, h6.block {
  padding-bottom: 10px;
}

a {
  text-shadow: none !important;
  color: #4c4c4c;
}
a:hover, a:focus{
  color: #0A0A0A;
  text-decoration: none;
}
ul li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0px;
}

form {
  margin: 0px;
  padding: 0px;
}
/***
General backgrounds
***/
.bg-blue {
  background-image: none !important;
  background-color: #4b8df8 !important;
}

.bg-red {
  background-image: none !important;
  background-color: #e02222 !important;
}

.bg-yellow {
  background-image: none !important;
  background-color: #ffb848 !important;
}

.bg-green {
  background-image: none !important;
  background-color: #35aa47 !important;
}

.bg-purple {
  background-image: none !important;
  background-color: #852b99 !important;
}

.bg-grey {
  background-image: none !important;
  background-color: #555555 !important;
}

.w-mini{
  width: 100px !important;
}

.w-small{
  width: 150px !important;
}

.w-large{
  width: 200px !important;
}

.w-huge{
  width: 250px !important;
}
/* 表单/表格样式 */
.table{
  border: 1px solid #e8e8e8;
  margin-bottom: 10px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.table th,.table td {
  border-top: 1px solid #ededed;
}
.table tr th{
  background: #fff;
  color: #343434;
}
.table tbody tr:hover>td,
.table tbody tr:hover>th {
  background-color: #f9f9f9;
  color: #343434;
}
.error{
  color: #e02222;
}
/* 文字颜色 */
.label-success,
.label-warning{
  padding: 4px 6px;
  border-radius: 0px;
  text-shadow: none;
}
.label-success{
  background-color: #3cc051;
}
.label-warning{
  background-color: #fcb322;
}

/*表格上面的操作栏*/
.search-box > div{line-height:30px; margin:0px;padding-top: 10px;}
.search-box > div dl{margin:0;padding:0 1px; display: inline-block;*float:left; }
.search-box > div dl dt,.search-box > div dl dd{float:left; height:30px; line-height:26px; vertical-align:middle; margin:0;padding:0;}
.search-box > div dl dt{width:80px;text-align:right; font-weight:normal;}
.search-box > div dl dd{width:170px; }
.search-box > div .input-comb{ -webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;}
.search-box > div .input-comb .input-control{ left:15px;right:15px;}
.search-box > div .droplist{/*width:100%;*/}
.search-box > div .droplist .dropdown-menu{}
.search-box > div input[readonly]{cursor:pointer;background-color:#fff;}
/*自适应输入框，组合框*/
.input-comb{position:relative;width:100%;*overflow:hidden; min-height:28px;background:#fff; border:1px solid #ccc; -webkit-border-radius: 4px;-moz-border-radius:4px; border-radius:4px; }
.input-comb .input-control{ position:absolute; left:5px; top:0; bottom:0; right:30px; line-height:28px; }
.input-comb .add-on{position:absolute;right:0;width:30px;height:28px; text-align:center; vertical-align:middle;line-height:28px;  padding-left: 0px;padding-right: 0px;}
.input-comb .input-control input[type="text"]{width:100%; font-size:12px; padding:0;margin:0; margin-top: -1px;  height:24px; line-height:24px; border-left: 0px;    -webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0; -webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;-webkit-transition: none;-moz-transition: none;-o-transition: none;transition: none; border:0; padding-left:0;padding-right:0;}
.input-comb .input-textarea{ padding:2px;}
.input-comb .input-textarea textarea{padding:0;margin:0; border:0; font-size:12px; resize:none; width:100%; }
/*********************下拉列表*****************************/
.droplist{position:relative;display: inline-block; font-size:12px;  min-width:100px;  height:28px;line-height:28px; border:1px solid #ccc;-webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px; cursor: pointer }
.droplist .dp-text{display:inline-block; overflow:hidden; height:28px;line-height:28px; margin-right: 40px; margin-left: 20px;}
.droplist .right{position:absolute; right:0;  width:28px;height:28px; }
.droplist .dropdown-menu{ min-width:70px;width: 100%;margin:0px !important; padding:0;padding-left: 14px;font-size:12px;-webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;}
.droplist .dropdown-menu>li{ padding:3px 5px;  display:block;overflow:hidden;text-overflow: ellipsis;-o-text-overflow:ellipsis;white-space: nowrap;  }
.droplist .dropdown-menu>li:hover{ background:#23aaf7; color:#FFFFFF;}
.droplist .dropdown-menu .active{}

/*************************新icon组*****************************/
[class^="nicon-"],[class*="nicon-"] {display: inline-block;margin-top: 0px;*margin-right: .3em;vertical-align: text-top;background-image: url("../images/ui_icon.png");background-repeat: no-repeat;vertical-align:middle;width:20px;height:20px;}

.nicon-chevron-down{width:28px;height:28px;background-image: url("../images/ui_icon_extend.png");background-position: 3px 4px;display: block;}/*下拉框内使用*/
.nicon-chevron-down:hover,.nicon-chevron-down:active,.nicon-chevron-down.active{background-position: -24px 4px;}
.nicon-chevron-up{width:28px;height:28px;background-position: -646px -420px;}

.nicon-order{width:8px;height:12px;background-position: -66px -456px;}
.nicon-order-asc{width:8px;height:12px;background-position: -94px -456px;}
.nicon-order-desc{width:8px;height:12px;background-position: -122px -456px;}
.nicon-exit{background-position:-142px -107px;width:22px;height:20px;float:left;}
.nicon-msg{background-position:-86px -107px;width:22px;height:20px;float:left;}
.nicon-home{background-position:0px 0px;}
.nicon-setting{background-position:-86px 1px;}
.nicon-align-left{background-position:-36px 1px;}
.nicon-arrow{background-position:-32px -65px;}
.nicon-plus{background-position: 0px -69px;height: 17px;width: 17px;}
.nicon-minus{background-position:0px -109px;height: 17px;width: 17px;}
.nicon-trash{background-position: -238px 3px;}
.nicon-trash:hover{background-position: -238px -28px;}
/*表单样式*/
textarea,input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  width: 150px;
  background: #fff;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  margin: 0px;
}
/*按钮样式*/
.nbtn{
  border: none;
  background: #23aaf7;
  color: #fff;
  border-radius: 4px;
  padding: 5px 20px;
}
.nbtn-blue{
  background: #23aaf7;
  color: #fff;
}
.nbtn-orange{
  background: #ffa300;
  color: #fff;
}
/* 重写model样式 */
.modal {
    width: auto;
    min-width: 320px;
    min-height: 160px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.modal .modal-header {
    width: auto;
    height: 30px;
    position: relative;
    padding: 9px 25px;
}

.modal .modal-header .close {
    position: absolute;
    right: 25px;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    line-height: normal!important;
    font-size: 30px;
    font-weight: normal;
    opacity: .2;
    text-shadow: 0 0 0 #fff;
}

.modal .modal-header h4 {
    margin: 0;
    padding: 0;
    height: 30px;
    line-height: 28px;
    vertical-align: middle;
    *display: block;
    *float: left;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
}

.modal .modal-footer {
    text-align: center;
    width: auto;
}

.modal .modal-body {
    padding: 0;
    margin: 0;
    max-height: initial!important;
}

.modal .modal-content {
    padding: 0;
    margin: 0;
    overflow: hidden;
    overflow-y: auto;
}

.modal-backdrop,.modal-backdrop.fade.in {
    z-index: 1050;
    opacity: .5;
    filter: alpha(opacity=20);
}

.modal.pannel {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border: 1px solid #ccc;
    box-shadow: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.modal.pannel .modal-header h4 {
    border-left: 3px solid #00A551;
    padding: 0;
    padding-left: 5px;
}
.label-prompt {
    position: absolute;
    padding: 4px 6px;
    z-index: 200;
    white-space: nowrap;
    font-size: 14px;
    color: #aeaeae;
    cursor: text;
    display: none;
    overflow: hidden;
}

.dropinput {background:#FFF;z-index: 999;position:relative;}
.dropinput .dropdown-menu {min-height: 40px;border-radius: 0;margin:0;}
.dropinput .dropdown-menu li{color:#000;padding-left: 5px;}
.dropinput .dropdown-menu li:hover{color:#FFF;background:#114f8e;}